package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.ExperimentProcessCsv;
import com.zhijian.medical.entity.vo.request.ExperimentProcessCsvSearchVo;
import com.zhijian.medical.entity.vo.response.ExperimentProcessCsvVo;

import java.util.List;

public interface ExperimentProcessCsvMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ExperimentProcessCsv record);

    int insertSelective(ExperimentProcessCsv record);

    ExperimentProcessCsv selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ExperimentProcessCsv record);

    int updateByPrimaryKey(ExperimentProcessCsv record);

    int count(ExperimentProcessCsvSearchVo experimentProcessCsvSearchVo);

    List<ExperimentProcessCsvVo> selectList(ExperimentProcessCsvSearchVo experimentProcessCsvSearchVo);

    ExperimentProcessCsvVo selectVoById(Long id);

    /**
     * 根据实验流程id进行删除
     *
     * @param experimentProcessId
     * @return
     */
    int deleteByExperimentProcessId(Long experimentProcessId);

}